import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import {createPersistedState} from "pinia-persistedstate-plugin";
import router from '@/router/router'
import {QuillEditor} from "@vueup/vue-quill";
// import './assets/main.css'


import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//富文本样式
import '@vueup/vue-quill/dist/vue-quill.snow.css'
import '@/assets/global.css'


const app = createApp(App)
//状态管理
const pinia = createPinia();
//持久化插件
pinia.use(createPersistedState())


app.use(pinia)
app.use(ElementPlus)
app.use(router)
app.component(QuillEditor)

app.mount('#app')
